package com.example.myapplication.fragment;

import androidx.recyclerview.widget.RecyclerView;

import com.example.myapplication.BaseFgm;
import com.example.myapplication.R;
import com.example.myapplication.adp.NotifyFgmAdp;

import java.util.ArrayList;

public class NotifyFgm extends BaseFgm {
    private NotifyFgmAdp adp;
    private ArrayList<String> daats=new ArrayList<>();
    private RecyclerView listView;
    @Override
    protected void logicStart() {
        daats.add("11");
        daats.add("11");
        daats.add("11");
        daats.add("11");

        adp=new NotifyFgmAdp(daats);
        listView.setAdapter(adp);

    }

    @Override
    protected void initView() {
        listView=rootView.findViewById(R.id.listView);
    }

    @Override
    protected void setListener() {

    }

    @Override
    protected int getlayout() {
        return R.layout.fgm_notify;
    }
}
